﻿using SQLite;

namespace SimpleTerminal.Common
{
    [Table("keyword")]
    public class Keyword
    { 
        //[System.ComponentModel.DataAnnotations.Schema.DatabaseGenerated(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity)]
      
        [Column("id"), PrimaryKey]
        public int? Id { get; set; }
        [Column("keyword")] public string Pattern { get; set; }
        [Column("enable")] public bool Enable { get; set; }
        [Column("explain")] public string Explain { get; set; }
        [Column("case_sensitive")] public bool CaseSensitive { get; set; }
        [Column("regular")] public bool Regular { get; set; }
        [Column("scheme")] public int Scheme { get; set; }
        [Column("sortby")] public int SortBy { get; set; }
    }
}
